package com.lujieni.springbootmybatis.service;

import com.lujieni.springbootmybatis.aop.DataPermission;
import com.lujieni.springbootmybatis.dao.WebsiteMsgDao;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @Author：Jie Ni
 * @Date: 2025/10/22 18:11
 * @Description:
 */
@Service
@RequiredArgsConstructor
public class DataPermissionService {

    private final WebsiteMsgDao websiteMsgDao;

    @DataPermission(enable = true)
    public void selectWebsiteMsg(Long id){
        websiteMsgDao.selectById(id);
    }


}
